package com.kgc.ssm.mapper;

import com.kgc.ssm.entity.Material;
import com.kgc.ssm.entity.MaterialExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
@Mapper
public interface MaterialMapper {
    long countByExample(MaterialExample example);

    int deleteByExample(MaterialExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Material row);

    int insertSelective(Material row);

    List<Material> selectByExampleWithRowbounds(MaterialExample example, RowBounds rowBounds);

    List<Material> selectByExample(MaterialExample example);

    Material selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") Material row, @Param("example") MaterialExample example);

    int updateByExample(@Param("row") Material row, @Param("example") MaterialExample example);

    int updateByPrimaryKeySelective(Material row);

    int updateByPrimaryKey(Material row);
}